<?php

/*
 * This file is part of PHP CS Fixer.
 * (c) kcloze <pei.greet@qq.com>
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.
 */

define('SWOOLE_XYH_PATH', __DIR__);
//ini_set('default_socket_timeout', -1);
date_default_timezone_set('Asia/Shanghai');

require SWOOLE_XYH_PATH . '/Xphp/Kcloze/Loader.php';
$config = require_once SWOOLE_XYH_PATH . '/config.php';
$console = new Kcloze\Jobs\Console($config);
$console->run();
